<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="f"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<TABLE class="mainService">
    <TR>
        <TD colSpan=1>
            <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center>
                <TR>
                    <TD class="td1"></TD>
                    <TD class="top"></TD>
                    <TD class="topright"></TD>
                </TR>
                <TR>
                    <TD class="middleleft" rowSpan=3></TD>
                    <TD bgcolor="#hhhhhh">

                    </TD>
                    <TD class="middleright" rowSpan=3></TD>
                </TR>
                <TR>
                    <TD class="middlecenter"></TD>
                </TR>
                <TR>
                    <TD class="main">
                        <table width="100%" border="0" align="center" >

                            <tr bgcolor="#E9E9E9">
                                <td height="20" width=500><font color="#6395C7" size="2">FlightCode</font></td>

                                <td width="50%">
                                    ${flightDTO.flightCode}
                                </td>

                            </tr>
                            <tr>
                                <td height="20"><font color="#6395C7" size="2">Departure</font></td>
                                <td>
                                    ${flightDTO.departure}
                                </td>
                            </tr>
                            <tr bgcolor="#E9E9E9">
                                <td height="20"><font color="#6395C7" size="2">Stop Off:</font></td>
                                <td>
                                    ${flightDTO.destination}
                                </td>
                            </tr>
                            <tr>
                                <td height="20"><font color="#6395C7" size="2">FlightDate:</font></td>
                                <td>
                                    ${flightDTO.flightDate}
                                </td>
                            </tr>
                            <tr bgcolor="#E9E9E9">
                                <td height="20"><font color="#6395C7" size="2">FlightTime</font> </td>
                                <td>
                                    ${flightDTO.flightTime}
                                </td>
                            </tr>
                            <tr>
                                <td><font color="#6395C7" size="2">Website :</font> </td>
                                <td>
                                    <a href="http://www.${flightDTO.webSite}" target="_blank">http://www.${flightDTO.webSite}</a>

                                </td>
                            </tr>
                            <tr bgcolor="#E9E9E9">
                                <td><font color="#6395C7" size="2">Email ;</font> </td>
                                <td >
                                    ${flightDTO.email}

                                </td>

                            </tr>

                            <tr>
                                <td colspan="8">
                                    <br>
                                    <font color="blue" size="4">${flightDTO.departure} Flights</font>
                                    <br>
                                    <br
                                        <p>${flightDTO.description}</p>
                                </td>
                            </tr>

                        </table>
                    </TD>
                </TR>
                <TR>
                    <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
                    <TD class="bottomright"><P align=right>&nbsp;</P></TD>
                    <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
</TABLE>

<TABLE class="mainService">
    <TR>
        <TD colSpan=1>
            <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center>
                <TR>
                    <TD class="td1"></TD>
                    <TD class="top"></TD>
                    <TD class="topright"></TD>
                </TR>
                <TR>
                    <TD class="middleleft" rowSpan=3></TD>
                    <TD bgcolor="#hhhhhh">

                    </TD>
                    <TD class="middleright" rowSpan=3></TD>
                </TR>
                <TR>
                    <TD class="middlecenter"></TD>
                </TR>
                <TR>
                    <TD class="main">
                        <table>
                            <tr>
                                <td>
                                    <logic:present name="listOrther">
                                        <logic:iterate id="listO" name="listOrther">
                                            <div style="float:left;padding-bottom:15px;border:solid 2px;border-color:#E9E9E9; width:185px; margin-bottom:15px;margin-right:10px;margin-left:10px;">
                                                <a href="flight.do?action=flightDetail&id=<bean:write name="listO" property="flightId"/>">
                                                    FlightCode:<font color="blue" size="2"> <bean:write name="listO" property="flightCode"/><br></font>
                                                    Departure: <font color="blue" size="2"> <bean:write name="listO" property="departure"/></font><br>
                                                    Destination: <font color="blue" size="2"> <bean:write name="listO" property="destination"/></font><br>
                                                    FlightDate: <font color="blue" size="2"><bean:write name="listO" property="flightDate"/></font>
                                                </a>

                                            </div>
                                        </logic:iterate>
                                    </logic:present>
                            <tr>
                                <td>
                        </table>
                    </TD>
                </TR>
                <TR>
                    <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
                    <TD class="bottomright"><P align=right>&nbsp;</P></TD>
                    <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
</TABLE>

